package org.csmzxy.class2333;

public class Example06 {

    /**\
     * 运算符的优先级operator priority
     * ()[]. > 算术运算符 > 比较运算符 > 逻辑运算符 > 赋值运算符
     *
     * @param args
     */
    public static void main(String[] args){
        int x = 0;
        int y = 0;
        int z = 0;
        boolean a, b;
        a = x > 0 & y++ > 1;

        b = x > 0 && z++ > 1;
        System.out.println("a = " + a);
        System.out.println("b = " + b);
        System.out.println("z = " + z);


    }

}
